package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Author wpj
 * @Date 2020/10/28
 */
@FieldTypeAnnotation(tableName = "t_l_ck_huashigang_event", desc = "花石纲-事件日志", autoSave = true, uploadCk = true)
public class LogHuaShiGangEventLog extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "活动小类型")
    private int childType;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "事件类型")
    private int eventType;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;

    public LogHuaShiGangEventLog(int activityId, int childType, long userId, int eventType, int eventId) {
        this.activityId = activityId;
        this.childType = childType;
        this.userId = userId;
        this.eventType = eventType;
        this.eventId = eventId;
    }

    public long getUserId() {
        return userId;
    }

}
